package com.gxar.quick.ar.server.base.model.works.vo.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.gxar.quick.ar.server.base.model.works.vo.BaseWorksVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/11/8 11:35
 */
@Data
@ApiModel("草稿列表响应模型")
@EqualsAndHashCode(callSuper = true)
public class WorksDraftListResponse extends BaseWorksVO {

    @ApiModelProperty("作品草稿id")
    @JSONField(name = "work_draft_id")
    @JsonProperty("work_draft_id")
    private String workDraftId;

    @ApiModelProperty("创建时间")
    @JSONField(name = "created_at")
    @JsonProperty("created_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;

    @ApiModelProperty("草稿作品标签")
    @JSONField(name = "tag")
    @JsonProperty("tag")
    private String tag;

}
